* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-size: 14px;
    background-color: var(--color-bg-1);
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

.echarts-tooltip-diy {
    background: linear-gradient(
        304.17deg,
        rgb(253 254 255 / 60%) -6.04%,
        rgb(244 247 252 / 60%) 85.2%
    ) !important;
    border: none !important;

    /* Note: backdrop-filter has minimal browser support */

    border-radius: 6px !important;
    backdrop-filter: blur(10px) !important;

    .content-panel {
        display: flex;
        justify-content: space-between;
        width: 164px;
        height: 32px;
        margin-bottom: 4px;
        padding: 0 9px;
        line-height: 32px;
        background: rgb(255 255 255 / 80%);
        border-radius: 4px;
        box-shadow: 6px 0 20px rgb(34 87 188 / 10%);
    }

    .tooltip-title {
        margin: 0 0 10px;
    }

    p {
        margin: 0;
    }

    .tooltip-title,
    .tooltip-value {
        display: flex;
        align-items: center;
        color: #1d2129;
        font-weight: bold;
        font-size: 13px;
        line-height: 15px;
        text-align: right;
    }

    .tooltip-item-icon {
        display: inline-block;
        width: 10px;
        height: 10px;
        margin-right: 8px;
        border-radius: 50%;
    }
}

.general-card {
    border: none;
    border-radius: 4px;

    & > .arco-card-header {
        height: auto;
        padding: 20px;
        border: none;
    }

    & > .arco-card-body {
        padding: 0 20px 20px;
    }
}

.split-line {
    border-color: rgb(var(--gray-2));
}

.arco-table-cell {
    .circle {
        display: inline-block;
        width: 6px;
        height: 6px;
        margin-right: 4px;
        background-color: rgb(var(--gray-2));
        border-radius: 50%;

        &.pass {
            background-color: rgb(var(--green-6));
        }
    }
}

.mt-2 {
    margin-top: 0.5rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mr-2 {
    margin-right: 0.5rem;
}

.ml-2 {
    margin-left: 0.5rem;
}

.flex {
    display: flex;
}

.justify-between {
    justify-content: space-between;
}

.items-center {
    align-items: center;
}

.justify-end {
    justify-content: flex-end;
}

.section-title {
    display: flex;
    align-items: center;
    color: #000;
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;

    &::before {
        display: block;
        width: 3px;
        height: 14px;
        margin-right: 8px;
        background-color: rgb(var(--primary-6));
        content: '';
    }
}
